package com.wyj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * TODO: 启动类
 *
 * @author wuyijie
 * @date 2022/2/9 6:31 PM
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class UserService9003App {
    public static void main(String[] args) {

        // StandardPBEStringEncryptor standardPBEStringEncryptor = new StandardPBEStringEncryptor();
        // standardPBEStringEncryptor.setPassword("");
        // standardPBEStringEncryptor.setAlgorithm("PBEWITHHMACSHA512ANDAES_256");
        // standardPBEStringEncryptor.setKeyObtentionIterations(1000);
        // standardPBEStringEncryptor.setProviderName("SunJCE");
        // standardPBEStringEncryptor.setSaltGenerator(new RandomSaltGenerator());
        // standardPBEStringEncryptor.setIvGenerator(new RandomIvGenerator());
        // String url1 = standardPBEStringEncryptor.encrypt("");
        // String url2 = standardPBEStringEncryptor.encrypt("");
        // String url3 = standardPBEStringEncryptor.encrypt("");
        //
        // System.out.println("url1="+url1);
        // System.out.println("url2="+url2);
        // System.out.println("url3="+url3);


        SpringApplication.run(UserService9003App.class, args);
    }
}
